﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using A2DFramework.OSGI;

namespace OSGIConsoleHost
{
    class Program
    {
        static void Main(string[] args)
        {
            Console.WriteLine("Starting...");

            BundleRuntime runtime = new BundleRuntime();
            runtime.Start();
            Console.WriteLine("Running now...");

            Console.WriteLine("...............Press any key to stop............");
            Console.ReadKey();

            runtime.Stop();
            runtime.Dispose();
            runtime = null;
        }
    }
}
